package com.aaa.dao;

import com.aaa.entity.Publisher;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PublisherMapper {
    List<Publisher> find();
    int add(Publisher publisher);
    int update(Publisher publisher);
    int delete(Integer id);
    List<Publisher> findpage(Integer pageSize,Integer pageNum);
    Integer findcount();
}
